{"version":3,"sources":["script.js"],"names":["BX","namespace","Rest","Markeplace","Category","init","params","this","signedParameters","filterId","leftMenuItems","findChildren","attribute","bx-role","items","tagName","i","length","href","util","add_url_param","IFRAME","initEvents","Page","addCustomEvent","onApplyFilter","bind","clickMPMenu","nodeMenu","Filter","Main","filterManager","getById","category","getAttribute","FilterApi","getApi","setFields","CATEGORY","__marketplaceFilter","filterMode","filterValue","apply","id","data","ctx","promise","item","activeItem","getFilterFieldsValues","removeClass","parentNode","hasClass","addClass","autoResolve","reloadPage","filter","loader","Loader","target","offset","top","show","ajax","runComponentAction","mode","then","ob","processHTML","innerHTML","HTML","setTimeout","processScripts","SCRIPT","hide","fulfill","reject","Items","pageCount","Number","currentPageNumber","type","isDomNode","loadPage","navigation","page","hasOwnProperty","window","gridTile","appendItem","remove","Marketplace","TileGrid","Item","options","arguments","title","NAME","developer","PARTNER_NAME","shortDesc","SHORT_DESC","secondaryDesc","SECONDARY_DESC","image","ICON","onclick","ONCLICK","feedback","FEEDBACK","layout","container","labels","clipTitle","company","controls","buttonAction","price","currency","period","payment","PRICE","rate","action","message","installed","INSTALLED","url","URL","promo","PROMO","LABELS","recommended","infoHelperCode","prototype","__proto__","constructor","getContent","getFeedbackContent","getApplicationContent","create","props","className","children","getLabels","getImage","getTitle","getDesc","getControls","getStatus","getSecondaryDesc","status","getStatusPromo","getStatusInstalled","getStatusTop","text","toUpperCase","getStatusRecommended","style","backgroundImage","hasAttribute","backgroundSize","isArray","j","res","color","Math","min","isNotEmptyString","push","substring","backgroundColor","borderColor","join","getClickEvent","Function","delegate","UI","InfoHelper","SidePanel","Instance","open","events","click","desc","hasSecondDesc","isString","html","afterRender","clipDesc","cleanNode","descriptionWrapper","appendChild","nodeHeight","offsetHeight","a","innerText","slice"],"mappings":"AAAA,aAEAA,GAAGC,UAAU,+BAEbD,GAAGE,KAAKC,WAAWC,UAClBC,KAAM,SAAUC,GAEfC,KAAKC,iBAAmBF,EAAOE,qBAC/BD,KAAKE,SAAWH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